package org.ehe.erp.mapper.quality;

import org.ehe.common.mybatis.core.mapper.BaseMapperPlus;
import org.ehe.erp.domain.quality.ErpBomQualityItem;
import org.ehe.erp.domain.quality.bo.ErpBomQualityItemBo;
import org.ehe.erp.domain.quality.vo.ErpBomQualityItemVo;

import java.util.List;

/**
 * BOM质检项目关联实体类Mapper
 * @author :zhangnn
 * @className :ErpBomQualityItemMapper
 * @description: TODO
 * @date 2025-09-10 14:48:49
 */
public interface ErpBomQualityItemMapper extends BaseMapperPlus<ErpBomQualityItem, ErpBomQualityItemVo> {
    List<ErpBomQualityItemVo> selectQualityItemsByBomId(Long bomId);

    List<ErpBomQualityItemVo> selectBomsByQualityItemId(Long qualityItemId);

    int deleteByQualityItemId(Long qualityItemId);

    List<ErpBomQualityItemVo> selectBomQualityItemList(ErpBomQualityItemBo bo);

    ErpBomQualityItemVo selectBomQualityItemVoById(Long id);
}
